#ifndef TURTOZE_H
#define TURTOZE_H

#include <string>
#include "Box2D/Box2D.h"
#include "SFML/Graphics.hpp"
#include <SFML/OpenGL.hpp>
#include "PhysicalObject.h"

using namespace std;

class Turtoze : public PhysicalObject
{
public:
	Turtoze(GameState *gameState);

	virtual void firstUpdate();

	virtual void update(double dt);

	virtual void draw();

	virtual void beginContact(b2Contact *contact);

	virtual void endContact(b2Contact *contact);

	virtual void PreSolve(b2Contact* contact, const b2Manifold* oldManifold);
	
	void setDirection(int direction) { m_state = direction;}

	int getDirection() { return m_state; }
private:
	double m_time;

	double m_particleTimer;

	bool m_botLeft;
	
	bool m_botRight;

	int m_state;

};

#endif
